import { NetworkManager } from "./manager/NetWorkManager";
import ResHelper from "./manager/ResHelper";
import AudioManager from "./manager/AudioManager";
import WindowManager from "./manager/WindowManager";
import { ObjectPoolManager } from "./manager/ObjectPoolManager";
import { JSONDataClass } from "./config/JSONData";

export default class Core {
  public static networkManager: NetworkManager;
  public static resHelper: ResHelper;
  public static audioManager: AudioManager;
  public static windowManager: WindowManager;
  public static poolManager: ObjectPoolManager;
  public static JSONData: JSONDataClass;
  public static init() {
    Core.networkManager = NetworkManager.getInstance();
    Core.resHelper = ResHelper.getInstance();
    Core.audioManager = AudioManager.getInstance();
    Core.windowManager = WindowManager.getInstance();
    Core.poolManager = ObjectPoolManager.getInstance();
    Core.JSONData = JSONDataClass.getInstance();
  }
}
